package com.bawei.login.entity

import com.bawei.net.BaseResponse
import com.blankj.utilcode.util.GsonUtils

/**
 * 登录返回数据实体
 */
data class LoginResultEntity(
    var values: String, //JSON字符串
    var home: String,  //主页面H5地址
): BaseResponse(){
    fun getValues(): LoginValues{
        return GsonUtils.fromJson(values, LoginValues::class.java)
    }
}

data class LoginValues(
    val pId: Int,
    val time: String,
    val token: String,
    val uId: Int,
    val uName: String,
    val uPwd: String
)
